package com.lizhenhua.fmmall.service;

import com.lizhenhua.fmmall.entity.Orders;
import com.lizhenhua.fmmall.vo.ResultVo;

import java.sql.SQLException;
import java.util.Map;

public interface OrderService {
    Map<String,String> addOrder(String cids, Orders orders) throws SQLException;
    int updateOrderStatus(String orderId,String status);
    ResultVo getOrderById(String orderId);
    void closeOrder(String orderId);
    ResultVo listOrders(String userId,String status,int pageNum,int limit);

}
